<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@include file="/common/taglibs.jsp"%>
<div id="sidebar">
	<div id="sidebar-wrapper">
		<!-- Sidebar with logo and menu -->

		<h1 id="sidebar-title">
			后台管理
		</h1>

		<!-- Logo (221px wide) -->
		<img id="logo" src="${ctx }/images/logo.png" alt="Simpla Admin logo" />

		<!-- Sidebar Profile links -->
		<div id="profile-links">
			你好,
			<a href="#" title="编辑你的资料">${sessionScope.ADMIN.userName}</a>
			<br />
			<a href="${ctx }/index.jsp" title="点击到网站首页">|首页|</a> |
			<a href="${ctx}/admin/adminLogout" title="注销">注销</a>
		</div>


		<ul id="main-nav">
			<!-- Accordion Menu -->
			<li>
				<!-- Add the class "current" to current menu item current-->
				<security:check action="" resource="">
					<a href="#" class="nav-top-item "> 内容管理 </a>
				</security:check>
				
				<ul>
				
					
					<security:check action="" resource="">
						<li>
							<a
								href="javascript:load('${ctx}/admin/adminTypeOrStyle.jsp');">分类管理</a>
						</li>
					</security:check>
					


					<security:check action="" resource="">
						<li>
							<a href="javascript:load('${ctx}/admin/adminArticle.jsp');">文章管理</a>
						</li>
					</security:check>

				
					<security:check action="" resource="">
						<li>
							<a
								href="javascript:load('${ctx}/admin/onearticle?currentPage=1');">单页管理</a>
						</li>
					</security:check>

					<security:check action="" resource="">
						<li>
							<a href="javascript:load('${ctx}/admin/download?currentPage=1');">资料下载</a>
						</li>
					</security:check>

					<security:check action="" resource="">
						<li>
							<a href="javascript:load('${ctx}/admin/link?currentPage=1');">友情链接</a>
						</li>
					</security:check>
					<!-- class="current" -->
				</ul>
			</li>


			<li>
				<security:check action="" resource="">
					<a href="#" class="nav-top-item"> 网站管理 </a>
				</security:check>
				
				<ul>
					<security:check action="" resource="">
						<li>
							<a href="javascript:load('${ctx}/admin/navmodel');">导航设置</a>
						</li>
					</security:check>
					
					<security:check action="" resource="">
						<li>
							<a href="javascript:load('${ctx}/admin/templete?currentPage=1');">模版管理</a>
						</li>
					</security:check>
					
					<security:check action="" resource="">
						<li>
							<a href="javascript:load('${ctx}/admin/indexpic?currentPage=1');">首页图片</a>
						</li>
					</security:check>
				</ul>
			</li>

			<li>
				<security:check action="" resource="">
					<a href="#" class="nav-top-item"> 留言及其他 </a>
				</security:check>
				
				<ul>
					
					<security:check action="" resource="">
						<li>
							<a
								href="javascript:load('${ctx}/admin/message/messagemanager?currentPage=1')">留言管理</a>
						</li>
					</security:check>
					
					<security:check action="" resource="">
						<li>
							<a href="javascript:load('${ctx}/admin/contact/find')">联系我们</a>
						</li>
					</security:check>
					
					<security:check action="" resource="">
						<li>
							<a href="javascript:load('${ctx}/admin/group?currentPage=1')">学术小组</a>
						</li>
					</security:check>
				</ul>
			</li>

			<li>
				<security:check action="" resource="">
					<a href="#" class="nav-top-item"> 我的资料 </a>
				</security:check>
				<ul>
					<security:check action="" resource="">
						<li>
							<a href="javascript:load('${ctx}/admin/user/toupdatepwd')">修改密码</a>
						</li>
					</security:check>
				</ul>
			</li>

			<li>
				<security:check action="" resource="">
					<a href="#" class="nav-top-item"> 系统设置 </a>
				</security:check>
				
				<ul>
					<security:check action="" resource="">
						<li>
							<a href="javascript:load('${ctx}/admin/site');">网站信息</a>
						</li>
					</security:check>
					
					<security:check action="" resource="">
						<li>
							<a href="javascript:load('${ctx}/admin/role?currentPage=1');">角色管理</a>
						</li>
					</security:check>
					<security:check action="" resource="">
						<li>
							<a href="javascript:load('${ctx}/admin/user?currentPage=1');">人员管理</a>
						</li>
					</security:check>
				</ul>
			</li>

		</ul>
		<!-- End #main-nav -->
	</div>
</div>

